package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 名片夹对象 mp_business_card_holder
 * 
 * @author mcf
 * @date 2022-11-18
 */
public class MpBusinessCardHolder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 名片夹ID */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 名片ID */
    @Excel(name = "名片ID")
    private String businessCardId;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addDate;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setBusinessCardId(String businessCardId) 
    {
        this.businessCardId = businessCardId;
    }

    public String getBusinessCardId() 
    {
        return businessCardId;
    }
    public void setAddDate(Date addDate) 
    {
        this.addDate = addDate;
    }

    public Date getAddDate() 
    {
        return addDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("businessCardId", getBusinessCardId())
            .append("addDate", getAddDate())
            .toString();
    }
}
